import { WeaTools } from 'ecCom';

//签字意见框配置信息
export const getSignInput = (params) => {
    return WeaTools.callApi('/api/workflow/reqform/signInput', 'POST', params);
}
//获取转发最多选择人数
export const getSelectMaxRight = () => {
	return WeaTools.callApi('/api/workflow/forward/getForwardMaxUserCount', 'GET', {});
}
//转发提交
export const forwardSubmit = (params) => {
	return WeaTools.callApi('/api/workflow/reqform/remarkOperate','POST',params);
}
//获取机构下的人员信息
export const loadResources = (params) => {
	return WeaTools.callApi('/api/workflow/forward/getForwardOrgResource', 'GET', params);
}
//获取流程操作者信息
export const getOperators = (requestid) => {
	return WeaTools.callApi('/api/workflow/forward/getReqWfNodeOperators', 'GET', {requestid:requestid});
}
//获取转发添加操作组表单信息
export const getHrmGroupForm = (params) => {
	return WeaTools.callApi('/api/workflow/forward/getAddGroupCondition','GET',params);
}
//保存转发操作组
export const saveGroup = (params) => {
    return WeaTools.callApi('/api/workflow/forward/saveUserGroupCmd','POST',params);
}
//加载操作组信息
export const loadHrmGroupData = (params) => {
    return WeaTools.callApi('/api/workflow/forward/getHrmGroup','GET',params);
}
//提醒
export const loadRemindInfo = (params) => {
    return WeaTools.callApi('/api/workflow/forward/loadRemindInfo','GET',params);
}

//转发、意见征询、转办范围设置信息
export const getFwLimitBrowserSet = (params) => {
    return WeaTools.callApi('/api/workflow/fwLimit/getFwLimitBrowserSet','GET',params);
}

//获取转发批注是否提醒选项信息
export const getReplyNoticeInfo = (params) => {
    return WeaTools.callApi('/api/workflow/forward/getReplyNoticeInfo','GET',params);
}